added pragma in the beginning of source files to remove the need to feed language extension options to the ghc command line.
added a new script for compiling and testing the system. It puts the results in results in result.txt which is version controlled. Document/test.hs has been split in two examples, the table of cubes and the small machine