Added (ugly) solution for Longest n lines problem
Much cleaner solution with much less awful syntax
Fixed algorithm and output