Initial commit.

The contents of this commit are licensed under the WTFPL version 2.

I wrote this while I didn't realise I was coming down with the flu, then
finished off the documentation after a break in which I had the flu. I have no
idea what mistakes have been introduced by this process.

It probably wasn't really flu.