Implemented the equals and not equals operators for the scalar value types. Also implemented the __hash__ function to make them hashable.