Ising

Added some code for Ising model simulation