printTree