Added Simpler version of genetic algorithm