implements abs() method.
implements min() method.
implements max() method.
implements compareTo() method and replaces isSmaller() with it.