Linear Sort Program In Python For Palindrome