if (this==other) { return 0; }
    public int compareTo(Object object) {        Fraction other = (Fraction) object;        if (numerator == other.numerator && denominator == other.denominator) {            return 0;        }        // otherwise see which is less        long first = (long) numerator * (long) other.denominator;        long second = (long) other.numerator * (long) denominator;        if (first == second) {            return 0;        } else if (first < second) {            return -1;        } else {            return 1;        }    }