Haskell Molecular Dynamics