Correct flat map example


Hi, Juanito!
I think 'flat map' example is wrong.
Here things that this example doesn't do. This is what I've changed.

1. Use flat_map explicitly with block.
2. Use created ARRAY constant.
3. Use block which will give some work to `flatten`.

Thanks for your repo!!
Pavel