This finds the Greatest Common Denominator