A palindrome is a word, phrase, number or other sequence of characters which reads the same backward or forward, such as madam or kayak.
Write a function that takes a string and determines whether it's a palindrome or not. The function should return a boolean (true or false value).
IsPalindrome("Neuquen") ➞ true
IsPalindrome("Not a palindrome") ➞ false
IsPalindrome("A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal-Panama!") ➞ true