A Python based Ising Model Simulation