Fixed typo in example code 

Closes issue #4