Added example1.rb