Simple Ising model using Metropolis and Wang - Landau sampling