Write Algorithm For Dfs And Bfs In Graph