Changed numbers from text based input to Double based and added functionality to commit to chain multiple operations together.

Change from string based to Double based removes need for string concatenation and increases speed.
Added ability to take the result of previous calculation and use it in the current calculation. Allows user to easily chain multiple statements.