added haskell module

includes a function to handle each problem, that can be set up to
be called from main.