Multiple Stack And Queue In Python Data