Added a .gitignore for tmp files and directories.