solution to length of last word