modified Fraction method to throw exception
fixed Fraction constructor to make multiply method test pass