Starting to implement printTree.