Finding the Greatest Common Factor