Algorithm For Implementation Of Queue Using Python