Still Doubly Linked List Error

The end competition does not change the head the tail.