Extract reusable stream operations out

while (re)working through the "Infinite Streams" section.