Playground for http://www.electricpeelsoftware.com/2014/08/12/map-filter-reduce.html