A very simply shared_ptr implementation.