Finds a large amount of primes and uses them to determine the primality of even larger primes.