Added .gitignore and removed ~ files