Update graph.c, Makefile