Java program to process commands from a text file for the Finch robot.