Iterative non factorial algorithm for binomial expansion and summarisation based on capital pi notation of binomial theorem with big-O time complexity equals to O(x^2)
Writen for bun js/ts runtime
To avoid using factorial there is possibility to use product insted, with same time complexity
Function binomial() returns the result after substituting values of x and y into to exprassion.
Function binomialString() returns the polynom