Python port of "Machine Learning: Introduction to Genetic Algorithms"