Simple graph algorithms with a modular designalgorithmsbreadthdepthdirectedfirstgraphobjectorientedpythonsearchtheoryundirectedvisitPython