Create example.cpp

to tell everyone how to use.