A model of urban growth