added code working with trees as lists of lists
include traversals that print nodes, create lists
of nodes, and create generators