Fixed some code examples and updated others to use syntax highlighting