Circular Queue In Python Code For Palindrome