solution to Count and Say