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

You need to work through some of the examples that come with the IDE, particularly how to call functions, and the return types of functions.