completed src/data/list.c