commit anagrams and countandsay