Added small fix and example file

* Fixed the record declaration in Main.hs.

* Added an example file.