Added error checking to printChromosome
Added error checking to setChromosomeActiveNodes