Add print statements for remove_objects_from_array