Circular Queue In Python Code