Added next() and prev() functions to TokenizedLine class.
Works on SquareT.xml