Metropolis algorithm Monte Carlo simulations on a 2D lattice