Create palindromeCheck.py

python function to check palindrome