adding treeprinter, consistency updates
Merge pull request #3 from FePhyFoFum/new_branch

adding treeprinter, consistency updates