Added a simple Haskell file which calculates roots and vertex coordinates, for tests.