implemented simplex method

simple version of the simplex method dealing with equality constraints