updated end to endfor

Saw a typo in the documentation where end should be endfor.