Loop no LinkedList e IndexOutOfBoundsException no TreeVisitor.