ex6.8 - flatMap() and nonNegativeLessThan using flatMap