Gcd Of N Numbers In Python