thesis: Add doubly-linked list implementation