Need to set the iteration when creating a new path in the CHILD
direction.
1. Correctly returning the last sequence position.
2. Confirming the call to setIteration does not put the new iteration
out of bounds.
Replaced and fixed code for choosing paths and following them.