added the ising cython class using the C code for 1d ising model and some more details