Altering string

Now just calculates each section from the string then replaces that
segment of the string with the answer.
Should work with negative numbers and brackets.