Refactor inorder into treeToList.  Add listToTree.