A Dynamic Model of Housing Supply