Implement Sieve of Eratosthenes with unit tests