updated the readme
updated sample.rb