Simple Rational type for calculating with fractions