The current code is able to extract all the coefficients from an equation even if the coefficient is not present as in the case of x+y=0 and if the variable is supposed to be present and its coefficient is 0 as in the case of x=5.
The current code is using the regex expression to clean the equation and extract variables.
Code should be able to extract the coefficients with signs.