Monte-Carlo simulation for the 2D Ising Model