added formatting to code examples in readme