adding ex1.rb file