Text this: Molecular-dynamics simulation of statistical-mechanical systems :