a simple genetic algorithm library