Write isPalindrome(str) that returns true if the string reads the same forwards and backwards.
Ignore case and any non-alphanumeric characters.
Examples
isPalindrome("Madam") → true
isPalindrome("A man, a plan, a canal: Panama") → true
isPalindrome("QA") → false