add *.lo and *~ to .gitignore and remove those files