Returns the remainder of this Rat divided by other.
other
Rat remainder(Rat other) { return Rat(n.remainder(d * other.n), d * other.d); }