fn number_list(nums: &[usize]) -> String
“1–3”, “2, 4 and 5”, “1 and 2”: runs of three or more consecutive numbers collapse to a range.