I am using a stack to transform an array with an expression where all numbers, brackets and operators are separated and in an infix order. I pass this array to a "topPo