line: added function to split lines
main: new line splitting example