Removed backup files (ending with '~').

Also added ignore rule for these files to .gitignore