Update Graph.cpp

generating the post order numbers jack