Code For Solving Linear Equations