I keep getting errors while compiling my chicken door sketc, need help debugging

Well, you're going to have a lot of problems with sketches here then. HIGH and LOW are used a lot.