Use nicer isPalindrome for #4 too