funcs for printing ASTs
parsing bugs fixed, mostly