Palindrome In Python Without Inbuilt Function