Resolve compiler errors with example code in README.
Merge pull request #4 from mattmmatt/master

Resolve Compiler Warnings in README