Added primes with a primality test as well as a Sieve of Eratosthenes