Added some gitignore rules to avoid tempory and swap files.