I dont get why a=-2. Isnt the direction still up. What exactly does decelleration mean i though it just meant slowong down so the sign doesnt change in front of the acceleration
Yep, deceleration is slowing down. I chose to set it to negative (which relates to what Aurelian was saying about directions and staying consistent) to represent that it's slowing down by 2 m/s every second. If it was positive, it'd mean that it was speeding up by 2 m/s every second.
If you look at what's going on with the numbers:

(where u=8m/s and t=5s)
If 'a' was positive, the final velocity increase. Clearly that's not what we want, as you're meant to be slowing down - the final velocity should be lower than that initial velocity.
If 'a' is negative, the final velocity would decrease. Which is what we want.
You could choose to have the positive sign represent slowing down (say that +ve represents 'down' and -ve represents 'up'), but I feel that having it as negative is more intuitive (but that's just me).