Run the main method of Demo, which needs FinchRobot and Direction, so put the following 3 classes in the same project.