Genetic algorithm library