added mutateChromosome function