An Ising Model simulator using the Metropolis algorithm