Tweak on Queue class
Implementation of qs