Added _tree_log() method and implemented in _traversal.
Addresses issue #7