changed all pinMode to digitalWrite

I done messed up.