Stack And Queue Using List In Python Definition