Python Genetic Algorithm With Constraint