Create palindrome.py

The palindrome function will search for the longest palindrome in the string.
The palindromeNoSpaces function simply removes the spaces from the string and calls the palindrome function.
Obviously the print statements could be changed to return to suit your needs.