added comments to haskell programs, started work on testing program