Yacc program for a simple calculator