Simple class for fractions.