Update and rename graph.c to graph.h