Added graph code and unit tests
Merge branch 'master' of https://github.com/triman/graphs
cleaned repo