A 2D spin lattice model simulator