Function to init a new population.
Function to free a population.