Revert "Update stackqueue.py"

This reverts commit 657ae6c7cb416a53c1aa00e056e07e26c04756ea.