python implementation of word jumble with word list