included vim swap files in .gitignore
added some comments, formatting