Implementing Stack Using Queue In Python