new gcd.py