Generated tree from correct list, deleted get_legal_words