Tidied up word_wrap

* Used a const for space_width
* Replaced loop with for
* Replaced match true/false with if