adds C++ example to README