Adding data science solution

This block is short enough to fit on one line: `json_input.each { |record| summarize(record) }`. Also put method arguments in parentheses: `summarize(record)`. Also returning `@data` is kind of strange given that you have it as `attr_accessor`. The method name doesn't really suggest you are returning anything except maybe `self`.