Update graph

add DFS, Djikstra, Prim