Compute The Greatest Common Divisor Python