Console version working, ready to start porting

Test cases seem to work well enough for progress. The inner while loop
from execTree needs to be converted to an outer loop for the Arduino.
Need to convert reading from file to reading from serial. The rover
state should be set and sent to Android.