GA

draft of genetic algorithm