Equations System Solving Algorithm