@tailrec on printTree and initial clear