code for phys115 2D Ising Model