Code For Simplex Method In Python