create_tree function

Create choice structure for treeInput()