Removing .swp file and adding .gitignore file to ignore certain files