Update palindrome.py

change nospaces to removespaces