Exercise 5 requries stdin so we will come abck to that once I figure out how best to do that. Primes generation could be more efficient.