implemented "int", "gcd", and "lcm"