adding destructor for chunked_list