add *.o and *~ to gitignore