get_lines method returns array of line arrays