Sieve of Eratosthenes in C++.