Added some genetic algorithm code.