Object v. Reference Equality
Implement a method named compare
that accepts two Any?
arguments.
It should return 0 if both references are equal, 1 if both objects are equal, and -1 otherwise.
Either reference can be null
, so you'll need to handle those cases carefully!