Reverse Doubly Linked List Leetcode Problem 7