Added javaDocs to fractions class