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

avoid generic names like HIGH or LOW

HIGH and LOW are not generic names, they are defined constants.

http://arduino.cc/en/Reference/Constants