Implementation Of Array Using Queue In Python 3