School project help

if(digitalRead (afbryder == 0))

Yes, there's something wrong.
You've given "afbryder" the value 13, so it is never going to be equal to zero, so your digital read will always be from pin zero.