Initial genetic algorithm verison