gcd.py