Initial commit of tree traversal extensions. Converts a tree structure into an enumerable list for easy traversal.