control loop functional.  need to fix bug with setting and finish implementing checkBoard