Block interview question

Implement a graph algorithm in python.