A palindrome is a string that reads the same forward and backward. So for example, racecar is a palindrome.
Palindromes are not very strict.
- They're case insensitive (Bob).
- They ignore spaces (taco cat).
- They ignore punctuation (Go hang a salami! I'm a lasagna hog!)
Write a function that takes a string as input and returns true if the string is a palindrome, false if it isn't. Follow the bullet points and make it as loose as you can.