Genetic Algorithm Python Example Code