Prime number finder using the Sieve of Eratosthenes algorithm