improve tree iterator struct and add signature for a function that can create an iterator

first draft of a tree iterator

(0) -300 -100 -30 -10 -2 +2 +10 +30 +100 tip

mercurial