Added doubly linked list and text buffer, with tests