Code

Code for generating several of the results in the book is available below.