public void move(int x1, int y1, int x2, int y2) {
        hlight = board[x1][y1].toggleMoves(hlight, board);
        board[x2][y2] = board[x1][y1];
        board[x1][y1] = null;
        board[x2][y2].update(x2, y2);
    }