converted "reduce" to "transform" and it now runs an instruction tree against a run tree.

The run tree acts both as the source of calling parameters which get substituted into the right places in a cloned code tree, and as the results 
of the run are placed.

Also added iterate instruction which applies a code snipit to a list of run trees.