Super light-weight genetic algorithm implementation.