srm 634
dfs added to Graph class.