Added the different states of the Arduino.

Still don't know what way is best to check for whether the user has
left or not.