Using MyPopulation2 instead of MyPopulation in main.