draft of genetic algorithm is working