rewrote Simplex solver

Rewrote simplex solver to much clearer and more concise.
Follows the method explained just about everywhere (uses row operations
instead of matrix multiplication).