create PDF_read_write_example.cpp

simple example of reading, storing and outputting a pdf