Python Greatest Common Divisor