edits trucwords
revision to edit trunc_words function