Anagram semigroup