Exercise 13 all primes up to 1000