Updated ex5.rb
Added ex6.rb
Updated ex6.rb