adding gitignore and removing a .swp file