Added small TGF lib for reading and writing TGF graphs.
Updated code for version 0.9 of the compiler. Found some bugs because the new compiler is awesome and list *all* the type errors now.