Takes an input string and places newline characters at fixed intervals. This adds with previous strings, so that a single line will never exceed wrapSize. Returns the string with added newline characters.