Update README.md

Fixed a few typos in examples
Update README.md

Changed repeat to range in examples.
Merge pull request #1 from casperc/master

README corrections