GCD / LCM

Compute GCD and LCM of a list of integers