SmashSquad's implementation of the two-phase simplex algorithm for linear programming