Add .gitignore and ignore a.out files.