A short and sequential molecular dynamics code