Implementation of various Ising Model