add graph.h

please check this out