Implemented unit tests for graph.

Hannah Young, hannah@corgibyte.com
Modified .gitignore to remove some emacs files

Hannah Young, hannah@corgibyte.com