Molecular Dynamics Code for Networks