Created solution for Sieve of Eratosthenes