Let $X_m$ be a space obtained from $S^1$ by attaching $D^2$ through the map $f(z)=z^m$ around the boundary. I have computed the homology group of it by exact sequence
$$\mathbb{Z} \cong H_1(S^1)\xrightarrow{\times m} H_1(X_m) \rightarrow H_1(X_m,S^1)\cong \widetilde{H}_1(X_m/S^1)\cong H_1(X_m/S^1)\cong H_1(S^2)\cong 0. $$
In particular, $$\mathbb{Z}\xrightarrow{\times m} H_1(X_m) \rightarrow 0$$
Thus, the first map is surjective so $H_1(X_m)\cong m\mathbb{Z}$.
Am I correct?