RF: Dynamics

Added glauber and kawasaki dynamics.