[#7] Add method contain and turncate, refactor method long_lines