Now prints proper malloc with casts.
added function nestFor that nests forloops. The inner function is still not supported. Need a way to accumulate bound variables from outer loops.
passing init. function to nestFor. But it is not enough, it probably needs to be of arity 'dim'.
Added program.hs (forgot?).