Modified solution_11.rb to correct issues. #11