Use Python to implement a Sieve of Eratosthenes for finding prime numbers.