How to get the gcf of a fraction