The problem goes like: Suppose that we are given a point $x$ and a sequence $x_n$ in a metric space $M$, and suppose that $f(x_n) \rightarrow f(x)$ for every continuous real-valued function $f$ on $M$. Prove that $x_n \rightarrow x$ in $M$.
I was thinking that since the $f(x_n) \rightarrow f(x)$ for EVERY $f$, then we can find one with a continuous inverse (could it just be $f(x) = x$?). Then since both $f$ and $f^{-1}$ are continuous and also $f$ is bijective, it is a homeomorphism. Therefore, the preimage converges based on the fact that $f$ being a homeomorphism. Is this correct?