Update palindrome.py

Hey, I'm new to programming and I was looking at your code to help myself learn. And I thought this bit could be improved with a couple extra lines to ignore punctuation and spaces! Now palindromes like "Madam, I'm adam," will work!