Palindrome Using For Loop In Python With Index