Exercise 1C - Primes, Highest Common Factors and Lowest Common Multiples