Added default .gitignore file

Includes ignoring *~ files, which are typically temporary text files in
the form name.txt~ used by Vim and other text editors.