Tree refactoring

- Correction of terminology in tree
- Added depth calculation to tree
- Clarification in tree iterator name