modified .gitignore to exclude temporary files (~)