Python boilerplate for generic genetic algorithm.