Create reverse_with_pointers