Two Phase Simplex Method