add anagram detection methods; update docstring in numbercompare_N_sq