Monte Carlo simulation of the 2D Ising Model using the Metropolis Algorithm