Minor edits to formatting and comments.
Added Vim swap file pattern to .gitignore.