A genetic algorithm example, from: http://www.theprojectspot.com/tutorial-post/creating-a-genetic-algorithm-for-beginners/3