Determine the move in which a LOGO turtle crosses a point that it has already visited
Hint: Find some constant $C$ such that if the turtle ever crosses its own path, then it must hit one of the last $C$ segments in the path. (I think that $C=5$ should work.)