imporoved for loop documentation to include list range example
Merge pull request #822 from coen-hyde/docs-forloop

improved for loop documentation to include list range example