ICCP project 2, Ising model