For each positive integer $n$, let $I_n=\{1/n\}\times I$ as a subset of $I\times I$. Let $X=(I\times0)\cup(0\times I)\cup(\bigcup_{n\geq 1} I_n).$ Let $x_0=(0,1)\in X$ be the base point. Show that $X$ is contractible. Show, however, that there is no base point preserving homotopy between the identity map of $X$ and the constant map at $x_0$.
I know that it is contractible. Is there any hint about the latter?