New example for dealing with return parameters

Taken from http://stackoverflow.com/questions/22095214/how-to-use-unique-ptr-with-data-allocated-within-a-c-library
specifically the response from 'Mooing Duck' on Feb 28, 2014 at 18:37

I extended the ptrptr_type struct to handle arrays as well.