Completed problem 9.
Completed problem 10 and implemented a function to find all the primes under a given number.