Created wrap(string) function

I created a custom textwrapping function. This allows me to wrap
individual lines of dialogue easily.