Update list.cpp

add related , and delete function"show tree()",