general anagram generator from thumbtack challenge