def actions(board):
    """
    Returns set of all possible actions (i, j) available on the board.
    """
    moves = set()
    for row in range(len(board)):
        for col in range(len(board[0])):
            if board[row][col] == None:
                moves.add((row,col))
    return moves