Exercise 6-8: RNG.flatMap/positiveLessThan
Exercise 6-9: RNG.map/map2 in terms of RNG.flatMap