Move exercise6.rb to exercises file