add .gitignore to have git ignore file with extension .o, .a and containing '~'