add Digraph API
add BFS, fix DFS