Added recursion to PrintTreeStructureVisitor