solution to countAndSay