testing some code implementing the simplex method