Fixed mis-formatting of code and added syntax highlighting