Add basic chromosome class which represents a scalar value.