Complete 'Check if palindrome'