fix q and x getting mixed up
Merge branch 'master' of https://github.com/tracicot/data-structures
fix q and x getting mixed up