Simplex algorithm for undegraduate linear programming course