dot-tree function

Tree printing method for list objects. This is an interactive function.