Palindrome or not program using python