Work on setting up genetic algorithm