Update README.md

Replaces outdated code with new working code.
Merge pull request #12 from GuyXY/master

Update README.md