The flatMap() method first maps each element using a mapping function, then flattens the result into a new array
Iterable<R> flatMap<R>(Iterable<R> f(item));