Added destructors to child classes, and made base class tree_riterator_class destructor virtual.