moved expression printing functions to parser.c and updated parser.h with function declarations