Finding The Lowest Term Of A Ratio