Reduced search space on palindrome checker. Thanks @jts3