map the stream to a new stream applying function f to all elementsThis performs a lazy mapping, f is called only when the elementsare taken from the stream.