add solution for LengthOfLastWord