created math.cpp to solve a quick expression, for Lab 3, prelab question 1