Fleshing out find_gcd