A very simple molecular dynamics code