finished GeneticAlgorithm.