tree.hh is a general purpose templated tree class for C++ in the spirit of the STL, and compatible with the STL algorithms.