<｜begin▁of▁sentence｜>### Instruction:
Given the famous Zachary's karate club graph, can you apply the Fruchterman-Reingold algorithm to place the vertices on a 2D plane and print their coordinates?
### Response:
import igraph as ig
import json

# Create a small example graph
g = ig.Graph.Famous('Zachary')

# Apply the Fruchterman-Reingold layout algorithm
layout = g.layout_fruchterman_reingold()

# Convert the layout to a list of coordinates
coordinates = layout.coords

# Display the coordinates
for idx, coord in enumerate(coordinates):
    print(f'Vertex {idx}: {coord}')
<|EOT|>
