fixed divide to find gcf