Solve Exercise 4.1 - Part III - flatMap