Create graph.cpp

elementary graph algorithm in CLRS.