Implemented the Eratosthenes sieve. Speed up from about 53 seconds to 0.030 seconds... Phew.