fixing syntax errors
Merge pull request #1 from cesine/master

fixing syntax errors in the example