Added Exercise 2.rb