Added tree formatting printing to the AST nodes. Needs to be tested.