Fixed problem in example in readme

Closes #6