Implemented Sieve of Eratosthenes. Much, much faster.