Ad hoc collection of basic graph algos