Tarjan's algorithm seems to work OK. Now should clean up the GraphFactory and hopefully Iva will be able to start decomposing some graphs from the internet.