Solved Length Of Last Word problem