Check if doubly linked list is palindrome

easy