ls_tree function

List the contents of a tree object