adapted readme
Merge pull request #10 from zaphod1984/master

Updating README example code