modified method names of yu_MatrixGraph.h, implemented a simple dfs using the MatrixGraph class