len(formula) is the problem
Handle associativity
Associativity fail