name    :: Sieve of Eratosthenes (modified version)
runtime :: O (n)