Create graph.c

Requires graph.h and list.h