Added implementation for primes sieve