Add python script and C++ library implementation that interoperate.