Let $(X,d)$ be a compact metric space and let $T:X\longrightarrow X$ be a map such that $d(T(x),T(y))<d(x,y)$ for all $x,y\in X$ such that $x\neq y.$
(a) Prove that $T$ has a fixed point
(b) Prove that the fixed point is obtained as a limit of $\{T^{k}(x_{0})\}$ for $x_{0}\in X$
I have solved (a), however, I'm not able to prove (b).
In particular, I am having some problems using the compactness hypothesis on $X$ to find proper subsequences which are convergent.
I would love to assume that there is no limit, then there would be at least two adherent values (due to compactness and continuity and infinity), then I may find contradiction somewhere.