Find longest word with unique letters in user-supplied dictionary