GCD and LCM. Greatest common divisor and least common multiple of a list of integers, exact BigInt math.