solve function now takes order of operations into account
Merge pull request #3 from Charles128/calc-logic

solve function now takes order of operations into account