update readme with code examples
update readme
Merge pull request #42 from aaromp/master

update readme