Friends-of-friends group finder based on minimal spanning tree code.