Simple C double-linked list library