add graph.h

please check this out for issue #4