Simplify prime sieve example.