Tree can do depth and inorder traversal