greatest common divisor / Euclid algorithm
more comments