readme: add syntax highlighting

This adds syntax highlighting to the readme which should make the code example a little easier to grok. I hope it's useful. Thanks!