Update src/graph.c
Update src/graph.c, add src/graph_algorithms.c