Add word count program.

Exercise 6-4;