C++ demo that prints a list of prime numbers.