From http://stackoverflow.com/questions/11175131/code-for-greatest-common-divisor-in-python
python's built in gcd function