Added reduction for Fraction functions
Gate exercise