Common functional iterator patterns.
Install this package with Pkg.add("IterTools")
Pkg.add("IterTools")