Add another treewalk method...

THe prob with trewalk is there's a lot of setup to be done on the
object before you iterate over it. It's not very Scala-ish to have such
a mutable object...