Implementation of ising model simulations (Metropolis, heat-bath and Wolff algorithm)