Updated a .gitignore to ignore *.o, *~, and */.directory