Probably the final commit.

The code correctly identifies the test words. It could be cleaned up a
bit more, but is still very much readable.