A few basic graph theory algorithms implemented in Python (NetworkX)