add list to tree and insert a elemen in a tree
add the function insert a element into tree