update do-bfs and do-dfs docs