refactor: Use Sieve instead of Filter
refactor: Use Sieve instead of Filter

Current implementation is quite slow, test suite takes several seconds.

Switch to Sieve of Eratosthenes to make computation faster.

Bugfry/exercises,Bugfry/exercises,Bugfry/exercises,Bugfry/exercism,Bugfry/exercises,Bugfry/exercism,Bugfry/exercises,Bugfry/exercism,Bugfry/exercises,Bugfry/exercism,Bugfry/exercism,Bugfry/exercism