Update geneticAlgorithm.cpp