2D Ising Metropolis2D Square lattice Ising model with periodic boundary conditions close to critical temperature