Python Array Implementation Of Queue