added isPadindrome to linkedlist