cUtil: add double linked list implementation