Added whole example.cpp to readme