Lag? Far simpler, but a little cluttered: Have the city founded with 1 citizen, then make it so every time the city grows, a free citizen is given. That "should" be possible.
But then i don't know jack about python, so i could be waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay off.