Some Graph algos, for fun and learning purpose.