- You are given a string S and width w.
- Your task is to wrap the string into a paragraph of width w.
- Complete the wrap function in the editor below.
- the wrap has the following parameters:
- string: a long string
- int max_width: the width to wrap to
- Returns string: a single string with newline characters ('\n') where the breaks should be