adds ignore statements to .gitignore

adds a statement to ignore backup files
adds a statement to ignore dependency files generated by the compiler.