beautify code of countAndSay, after checking out others' solutions