begin work on genetic algorithm