set up cabal
solved problem 1