Theorem: Show that an infinite set is compact if and only if every infinite subset of has an accumulation point that lies in .

My attempt of proof:

Suppose is infinite and compact but that there exists an infinite subset that does not contain any accumulation points in . Call this subset and let an accumulation point of this subset be . Since is an accumulation point of , there is a sequence of points in such that the limit of that sequence is . Clearly this sequence lies in as well since , so we have that is an accumulation point of , and since is compact, , which is a contradiction. So all infinite subsets of have an accumulation point which lies in .

Now suppose every infinite subset of has an an accumulation point in and that is not compact. Then is either unbounded or not closed. If is unbounded, then there exists a sequence in , say , such that for all , , so . So let be the set of these sequence elements. By construction, this is an infinite set, yet it has no accumulation point since no matter the ordering of the terms, there is no such point such that infinitely many sequence terms lie arbitrary close to . This contradictions our hypothesis, so is bounded. Suppose is not closed. Then there exists a point such that yet . Since , there exists a sequence of points in , say such that . Let be the set of these sequence elements. By construction, this is an infinite set, yet its only accumulation point is since no matter the ordering of the terms, is the only point where infinitely many terms of the sequence are arbitrarily close to. Again, this contradicts the hypothesis, so must be compact.

Is this proof valid, the only part of the proof I am really unsure of is in the second paragraph with the construction of those sequences. Is my claim valid that no matter the ordering, there are no other accumulation points then the ones I have specified? It seems obvious/true to me (I think) but is it a false claim or is it a claim that needs proof? Thank you.