Let $\displaystyle W$ be the mapping cone of the map $\displaystyle f: S^1 \rightarrow S^1$ defined by $\displaystyle f(z)= z^p$.

How do you compute the homology groups of $\displaystyle W$? What about the homology groups of the Universal covering of $\displaystyle W$?

I know that the mapping cone $\displaystyle C_f$ of $\displaystyle f: X \rightarrow Y$, is defined to be the quotient of the mapping cylinder of $\displaystyle f$ with $\displaystyle X$.

Or we can say,

Given a map $\displaystyle f: X \rightarrow Y$, the mapping cone $\displaystyle C_f$ is defined to be the quotient of the topological space of $\displaystyle (X \times I) \coprod Y$ with respect to the equivalence relation $\displaystyle (x,0) \sim (x',0), (x,1) \sim f(x)$ , on $\displaystyle X$. Here $\displaystyle I$ denotes the unit interval $\displaystyle [0,1]$ with its standard topology.

But I am not sure how to start using this definition of the mapping cone, to find the homology groups of $\displaystyle W$ and of its universal cover.