spiral matrix ii
length of last word