Adding gcd lcm helpers
Solving problem 5