Example of cpp + python

using cpp to solve a problem and python to plot the result