Base Python Code For Palindrome