Added ex1.rb
Added ex2.rb