Code Snippets Similar to "rearranging letters in a word":