specifivations added for > and <
specfications for method <=> spaceship operator