updated my_solution.rb