doubly linked list: fix bug in erase() and add description