Added new function addDetailsIntoChromosome()