Added syntax highlighting to code snippets.