Add population source file from evolve.c

Have extracted out functions to do with GA population out of evolve.c.
In turn a new source file called population.c was created. This allows
the source of evolve.c to be neater. All other code relying on
population functions were also fixed.