writing solver
iterate over all possible orders of operations; solve for any number of numbers