Fix sample code in readme so it compiles
Merge pull request #34 from brandonroth/bug/readme

Fix sample code in readme so it compiles