Pergunta de entrevista da empresa Toggl

I had to implement solution that returns length of a last word in string.