population_simulator function

Runs a stage-based demographic population model simulation.