Programming-by-Demonstration C++ Library