Add description and solution in C++ of length of last word problem