Command line program for finding prime numbers up to a given number using the Sieve of Eratosthenes algorithm