Add begin()/end() functions.

These will iterate over the entire tree, depth first.