building tableau for simplex