Graph related simple algorithms.