Determine the next position to move to and the turn out of there
next_move_tidy(plotNo, nPlots, curpath)
a list containing the next position to move to (nextpos) and the turn out of there (nextout); Interpretation: nextpos: position of plot number plotNo+1 in the (non-trimmed) occupancy matrix nextout: turn out of nextpos
current plot number
total number of plots
the current path
Marius Hofert and Wayne Oldford