Adding .gitignore

Deal with intermediate files and build output.