Added list.h and graph.h.
Implement list.h.