Created an offline test program to simulate the EV3 state machine.