Added a function for changing states in order in order to encapsulate the changes that should occur within every state change
Added obstruct passage procedure
Added remaining autoExec state procedures
Replaced the embedded setupAuto state with PUSH_BRICK and DROP_PLATFORM in order to reduce confusion and enforce uniformity of code
Set on to true if the machine boots with test switch set to active
Fixed syntax errors, got it compiling!
Added a function for clean termination of autoExec
Organizing and removing duplicated lines at setup().
Added setSolenoids() function.
Removed duplicated lines at setup().
Substitute fucntion turnSolonoidsOff() with setSolenoids().
Substituting multiple calls to solenoids with setSolenoids().
Moving setSolenoids() to the beginning of the code.
Added description and comments to setSolenoids().
Added pressureIs().
Fixed a typo. Sustituted pressureIsHigh() with pressureIs().
Sustituted call to !pressureIsHigh() with pressureIs==LOW.
Added powerSwitchIs().
Reimplemented the powerSwitchIs() with do-while.
Uniformed the identation, 4 spaces.
Added inputIs(). Removed the return call at the beginning of setAuto().