rearrange the words to make sentences