I have to determine the limiting distribution for the MC so I determine the equations first:
$\Pi_0 +\Pi_1 + \Pi_2 + \Pi_3 +\Pi_4 =1$
$\Pi_0 = \Pi_0q + \Pi_1q + \Pi_2q +\Pi_3q +\Pi_4$
$\Pi_1 = \Pi_0p$
$\Pi_2 = \Pi_1p$
$\Pi_3 = \Pi_2p$
$\Pi_4 = \Pi_3p$
and then I tried to solve the system and I got this:
$0= \Pi_0 (-1+q+pq+p^2q+p^3q+p^4) $
So I conclude $0= \Pi_0$ therefore $\Pi_1 = \Pi_2 = \Pi_3 =\Pi_4 =0$
but this doesn't match the answer of the book.
Can somebody tell me where is my mistake?

In this Markov chain, you need find the vector ${\bf \Pi}$ that satisfies the following:
$$ \bf \Pi\ {\bf{P}} = \Pi$$
To start, compute $\bf\Pi\ P$, and we get
$$ {\bf\Pi\ P} = \left[\Pi _5+\Pi _1 q+\Pi _2 q+\Pi _3 q+\Pi _4 q,\ p \Pi _1,\ p \Pi _2,\ p \Pi _3,\ p \Pi _4\right]. $$
Then we set up the linear equations, as shown below:
$$ \begin{eqnarray} \Pi _5+\Pi _1 q+\Pi _2 q+\Pi _3 q+\Pi _4 q & = & \Pi _1 \\ p \Pi _1 & =& \Pi _2 \\ p \Pi _2 & =&\Pi _3 \\ p \Pi _3& = &\Pi _4 \\ \Pi _1+\Pi _2+\Pi _3+\Pi _4+\Pi _5& =& 1 \end{eqnarray} $$
An then once we solve them, we get:
$$\Pi _1 = -\frac{1}{p \left(p^2+p+1\right) (q-1)+q-2}$$
$$\Pi _2=-\frac{p}{p \left(p^2+p+1\right) (q-1)+q-2}$$
$$\Pi _3 = -\frac{p^2}{p \left(p^2+p+1\right) (q-1)+q-2}$$
$$\Pi _4= -\frac{p^3}{p \left(p^2+p+1\right) (q-1)+q-2}$$
$$\Pi _5= -\frac{p^4}{p \left(p^2+p+1\right) (q-1)+q-2}$$