Simple definitions for this exercise
Every input character is either significant or insignificant.
A word is a maximal sequence of one or more significant characters.
A paragraph break is a maximal sequence of insignificant characters that includes two or more new-line characters.