Gives all the possible words from a string of letters