Changed code formatting to use the Github syntax highlighting.