Added examples, based on Ruby and JavaScript
Merge pull request #6 from ds604/master

Added examples, based on Ruby and JavaScript