Chapter 1, exercise 1.3.

Char parsing.