def actions(board):
    """
    Returns set of all possible actions (i, j) available on the board.
    """
    available_moves = set()
    for x, row in enumerate(board):
        for y, column in enumerate(row):
            if column is None:
                available_moves.add((x, y))
    return available_moves