Explain The Queue Implementation Using Python