Tyler's version of RobotMain, added optical sensor.