Finding Great Common Divisor and least common Multiplier with 2 or more numbers