added dfs to GraphExamples