Update broken example code in README.md

Fixes #7.
Merge pull request #8 from jwmerrill/patch-1

Update broken example code in README.md