Write Algorithm For Dfs And Bfs Traversal Of A Graph