The Creating streams from different sources, Reducing the elements of a stream and Collecting the elements of a stream recipes in this chapter