Streams.scala:  exercises 8 thru 12.