restored gitignore

and got rid of unnecessary backup files