Dfs Algorithm Using Adjacency Matrix