Added task invert_list