simplex in C for my linear opt class