Queue Implementation Using Array And Arraylist In Python