The homeless man was given the blanket by a kind person to keep him warm