Implemented comparison functions (<, <=, ==, >, >=)