Algorithm For Dfs In Graph