Simplified code for drawing ASTs.
Added compilation of low-level arithmetic functions.