Exercise 5-5 (takeWhile via foldRight)
Exercise 5_7 (Stream.map/filter/append/flatMap)