Here I post the link for you guys to check out the code of this WSQ, it was a little bit hard to understand, it’s still hard to understand. Thanks to my friend sam, I was able to understand it and based my code on hers.
https://github.com/A01154027/TC101/blob/master/WSQ10.cpp
#WSQ10 by Luis Daniel García is licensed under a Creative Commons Attribution 4.0 International License.