Corrected 2 small errors in the example code
Merge pull request #4 from jacopsd/master

Corrected 2 small errors in the example code