insert_tree done and tested