An algorithm to build a city from a set of citizens.