After seeing a lonesome dog on the subway each day, this curious passenger followed him to see where he went