Better formatted code examples

Updated README.md to include GitHub flavoured markdown to get some syntax highlighting.