Hybrid Genetic Algorithm Example Python