Formatted the code examples in README.md