adding ex1.rb