I need a function that takes in a equation in the form of a String,
for example: "a \* b + 5 \* a + 5 + a + 6" and simplifies it in for example:
"a \* b + 6 \* a +11".
but I can't make my own class work and I can't find a library for it.
I hoped people you could help me