Exercise "A class representing fractions "