A rust fucntion that reorders a list of 5 letter words based the score of the popularity of the letters in all the words
This is for the game of Wordl, where player need to guess a secret word, if the player know the array of words the secret word is selected from then, the top ranking result will be the most useful words to try to crack the secret word. That is because we first score each letter and get the most popular letters, and then we assign a score to each of the words.