Prove that a subset C of $\mathbb R^n$ is closed if and only if it contains all its limit points.
A closed set is defined by a set of all boundary points
My professor said "We may prove that C is not closed if and only if $C^c$ has a limit point of C. To prove this, it suffices to show that a point x in $C^c$ is a boundary point of C if and only it is a limit point of C." and he left it as an exercise.
I am a beginner of analysis and I want you to check if my proof is okay.
This is how I prove:
If part) Let $x\in C^c$ and x is a limit point of C. Then there is a sequence $\{x_k\}$ of distinct points in C such that $0<\Vert x_k -x \Vert<1/k$. Thus $N'(x;r)\bigcap C$ is infinite. It follows that $N(x;r)\bigcap C\neq\emptyset$. Since $x\in C^c$, we get $N(x;r)\bigcap C^c\neq\emptyset$. Hence x is a boundary point of C.
Only if part) Let $x\in C^c$. Since x is a boundary point of C, there exists $x_k\in C$ such that $x=\lim_{k\to \infty} x_k$. Choose $\{x_{k_j}\}$ where $x_{k_j}\neq x_{k_l}.$ Then $\Vert x- x_{k_j} \Vert > \Vert x- x_{k_{j+1}} \Vert$, so $\{x_{k_j}\}$ converges to x. Thus x is a limit point.
Please tell me if there is wrong or insufficient. Is it okay just to say that "Choose $\{x_{k_j}\}$ where $x_{k_j}\neq x_{k_l}$"?