Insert into cyclic list and split a list