Split words to lines