A simple simplex method implementation on C++