public void setChecked(int locx, int locy, int setDirec) {
        //System.out.println("Set checked called");
        switch (setDirec) {
            case 0:
                traversal[locy][locx] |= 0x10;
                if (locy > 0) traversal[locy - 1][locx] |= 0x40;
                break;
            case 1:
                traversal[locy][locx] |= 0x20;
                if (locx < MicromouseRun.BOARD_MAX - 1) traversal[locy][locx + 1] |= 0x80;
                break;
            case 2:
                traversal[locy][locx] |= 0x40;
                if (locy < MicromouseRun.BOARD_MAX - 1) traversal[locy + 1][locx] |= 0x10;
                break;
            case 3:
                traversal[locy][locx] |= 0x80;
                if (locx > 0) traversal[locy][locx - 1] |= 0x20;
                break;
        }
    }