Implemented basic constant folding for add, sub, and mult