https://wikimass.com/c/gcd