Checking if the given linked list is a palindrome