A simple gravity simulation with Haskell and OpenGL