finish lengthofLastWord.cpp