Finished implementing the simplex method