finished bfs and dfs
dfs, bfs, gbfs, a*, ucs