Explain Queue Implementation Using Python