Implemented single-link clustering

The code is not finished yet, but an algorithm to perform single-link
clustering has been implemented. The algorithm needs to be tied together
with the idea of nodes from the simulator.