Update mygraph.h

added comments to header file