added cabal file

Added a cabal file. Will be useful if you need any dependencies from cabal or want to upload to hackage.