Added rule to ignore files ending in ~ for .gitignore