this is a LR1 parser that calculates basic algebra. only one noticable bug cant handle a expression starting with ( ex. (1+2) but 1+(2) or 1+(2+3)