Returns a new Rat with the smallest denominator for the fraction.
Rat normalize() { final gcd = n.gcd(d); return Rat(n ~/ gcd, d ~/ gcd); }