find the gcd of two numbers