Tcl implementation of the map-reduce data processing algorithm.