Add syntax highlighting to README and simplify some code
Merge pull request #7 from iffy/fix-readme

Add syntax highlighting to README and simplify some code