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