Adds shared_ptr example usage