Modified the fraction to have a human-readable print as well as a
printAsFraction() method.