A excise to caculate the greatest common divisor of two int values.