Added solution_6.rb, changed assignment_6.rb to resolve conflicts