Added a gitignore file

Ignore the automatic generated backup files.
Changed the gitignore file

Swap files in Vim doesn't need to be tracked.