Corrected the "for" cycling on route points in the example

The example for cycle on the points in the routes contained a small error