Added some functions to Chromosome class.

Made some changes to Gene class as well.