added exercise2.rb
exercise3.rb first commit
exercise3.rb second commit
exercise3.rb third commit
added exercise4.rb