C Gcd Function Using Euclidean Algorithm Python