<｜begin▁of▁sentence｜>### Instruction:
As a teacher assistant, I often help manage classroom activities and support student learning. Today, we have been tasked with using an educational tool called NetworkX to analyze a classroom seating diagram, which represents an undirected graph. In this scenario, we are asked to identify and list the students who are seated near student 2.
### Response:
import igraph as ig

# Create a simple undirected graph
edges = [(0, 1), (0, 2), (1, 2), (2, 3)]
g = ig.Graph(edges=edges)

# Find the neighbors of vertex 2
g_neighbors = g.neighbors(2)

# Print the neighbors of vertex 2
print('Neighbors of vertex 2:', g_neighbors)
<|EOT|>
