Adds .gitignore and deletes swp file