LeetCode ValidPalindrome judge passing solution. No test cases as it passed first time through.