Added solution_18.rb. #19