Update 6-exercises.rb