First draft of tree node and tree traversal