mcm ch2 exercises

Chapter 2 Exercises
It might be neater if instead of printing out whether the value is prime in the lambda body, the stream is _filtered_ based on the predicate that the value is prime, then the filtered stream printed.