gcd using euclidean algorithm example