Begin genetic algorithm