delete *~ files and creating a .gitignore file