Queue Example In Python