added comments to tableGenExample.hs