removed wrong curly bracket in example

just noticed this little error when playing with the example
Merge pull request #91 from paul-em/patch-1

removed wrong curly bracket in example