<｜begin▁of▁sentence｜>### Instruction:
As an educational psychologist, you may be interested in using network analysis to understand and improve social interactions among students in a classroom. To do this, you have been provided with an adjacency matrix representing the connections between students. You would like to use the igraph library to create an undirected graph from this adjacency matrix and then print a summary of the graph.
### Response:
import igraph as ig

# An example adjacency matrix
adj_matrix = [
    [0, 1, 1, 0],
    [1, 0, 0, 1],
    [1, 0, 0, 0],
    [0, 1, 0, 0]
]
# Create an undirected graph from the adjacency matrix
graph = ig.Graph.Adjacency(adj_matrix, mode='undirected')

# Print summary of the graph
g_sum = graph.summary()
print(g_sum)
<|EOT|>
