The code is used for reproducing some simulation results in the book.
Run playground.ipynb in Jupyter or just click it to see the result.
playground.ipynb
You know.