add_pointer_struct function

Adds Pointer Structure to R objects