refactoring
find all connected pairs recursively
Merge remote-tracking branch 'origin/master' into wormhole