Changed order of some functions.
fracToString now only returns the numerator if the denominator is equal to one.