How this algorithm works Reference https://zhuanlan.zhihu.com/p/352336898 https://www.ma.imperial.ac.uk/~dturaev/neller-lanctot.pdf https://www.youtube.com/watch?v=ygDt_AumPr0&t=27s