Adding connectivity related algorithms (Tarjan and Foulkes).
Small corrections