Stack Implementation Using Queue In Python 3