Add gcd and lcm