Molecular Dynamics with Haskell