minor code improvement
emacs backup files to gitignore
fixed coal graph