add a map(stream, function) example