An iterator class for any linked lists that has "next" variable in its elements.
inline new (head:TNode)
inline hasNext ():Bool
inline next ():TNode