Implementation of some genetic algorithms.