update .gitignore and remove a *~ file