Fixing typo in index.rst

Documentation was using incorrect variable name in example.
Merge pull request #7 from barqshasbite/patch-1

Fixing typo in index.rst