Decmial to Fraction code not working