Added the commented out code of the genetic algorithm