Added new ex5.rb
Updated ex5.rb