Simple C++ Programm to solve a NLE in the context of Weighted Monte Carlo