partial commit - adding interface for math functions lcm and gcd