Simple calculator using bison+flex