README.md: Typeset code segments

This uses the ``` GitHub-style notation.

While this isn't standard Markdown (though accepted in most dialects thereof), I was unable to get the code blocks to correctly render without this.