Words distance problem. I hate interviews!!