Added CUP and JFlex for math string parsing