Add example using NLopt library to do minimization

In nlopt_exam01.cpp, three cases are tested, but the case 1 is suspected
to be wrong.