Suppose $a$ is a point of the metric space $S$. Define $g(p) = d(a,p)$ with $p \in S$. Prove $g$ is uniformly continuous.
Also, if possible, don't use Lipschitz continuity or denseness. We haven't covered those in class so I'll have no idea what you're talking about.