Merge pull request #10 from mithunsatheesh/hotfix-multiple-consequence-execution

fixes #8. multiple consequence execution issue.
Update README.md

fixed issue in sample code provided in readme.md
Merge pull request #11 from mithunsatheesh/dev

fixed issue with code sample in readme file