molecular dynamics - ising model