list-cycle path-sum