Edits to prevent endless loops based on code review of "while" statements
Edits to prevent endless loops based on code review of "while" statements

cpsolver/Dashrep-language,cpsolver/Dashrep-language,cpsolver/Dashrep-language