Added some functions to Fractions.cpp