Queue Function In Python W3schools