Updating README.md, formatting code, adding a couple of comments.