Reformatting readme for Github. It's .md parser appears to be slightly restricted over the standard, in that ```x``` isn't properly handled as a code block.
Adding const and & where possible, for security and efficiency.