added Fraction(int n) constructor