A modular, Python-based implementation of a Genetic Algorithm