Update sample code
Merge pull request #55 from pala/patch-1

Update sample code in readme