example 2D molecular dynamics code