Fix #16; automate adding new files

Only using Haskell and the standard library!
Make generated files pass the tests
Test adding files
Merge pull request #22 from tfausak/issue-16-haskell

Automate adding new files