doubly linked list in ANSI C
clean up
do not need of this