The Monte Carlo method following Daan Frenkel "Understanding Molecular Simulation" implemented using Python.