Updated MasterCode.ino

-expanded mode switching loop in void() setup
-added a "changeModeLight" function
-added a case statement in void loop() to switch between modes
-added hotPotato() and related functions