Spelling, logic fixes

Spelling corrections in code comments as well as README.md file.
Removed iterating counter in favor of len()