added branching logic to iterators.  Stacks that return a Stack will be followed.