Conversion of the basic genetic algorithm described at http://www.ai-junkie.com/