https://compphys.go.ro/metropolis-for-2d-ising-and-spin-block-renormalization/
Metropolis for 2D Ising and spin block renormalization