Example 8.26: reading data with variable number of words in a field