def actions(board):
    """
    Returns set of all possible actions (i, j) available on the board.
    """
    empty = []
    for i in range(3): # y-axis
        for j in range(3): #x-axis
            if board[i][j] == None:
                empty.append((i, j))
                
    return empty