Lemma: Suppose we have a $n$-dimensional CW complex $X$ and an aspherical space $Y$, where aspherical just means $\pi_n(Y)=0$ for all $n\geq 0$. Let $f,g:X\rightarrow Y$ be continuous maps. Then $f$ and $g$ are homotopic.
So my question is how to prove this assertion. Now to simplify the proof it suffices to show that $f$ is nullhomotopic. Now I can see why this is true since if we look at the attachment maps on $X$ and compose them with $f$, they are nullhomotopic from our aspherical assumption, so we can make the $n$-cells constant throughout a homotopy, but I don't know how to formally show this fact since the $n-1$ skeleton would have to be perturbed slightly to form this homotopy. Can anyone clarify what I am trying to do in a more formal setting.