Prove that a set is closed iff it contains all its accumulation points.
I have no clue on how to approach the above problem. At first I would appreciate hints on how to get started in either direction $\Leftarrow$ or $\Rightarrow$.
This is how we have def. an accumulation point:
A point $x \in X$ is called an accumulation point of $A \subset X$ if for every $U \in U_x$ there is $y$ s.t $y \not = x$ with $y \in U \cap A$. Where $U_x =\{ U \in X: U \text{ neighbour of } x \in X\}$
We have def. a closed set to be the complement of an open set.