Multiplies this Rat by other.
other
Rat operator *(Rat other) { return Rat(n * other.n, d * other.d); }