Circular Queue In Python Code For Snake