Adds the solution to longest_lines challenge of code eval