EratosthenesSieve implementation optimized

EratosthenesSieve now uses proper sieve logic, with a sorted set, incremental filtering and all that. Proved to be significantly faster, what a surprise.