Fix a minor typo in the README

Add the `def` keyword in one of the examples
Merge pull request #18 from roperzh/minor-readme-fix

Fix a minor typo in the README