Update exercise6.rb