Implemented Sieve of Eratosthenes method - prob 7