Added function for word wrapping & tests for it