fixed README.md's code snippets by applying markdown formatting