This code works to link and cluser line segments 

AUTHORS are 
Allison Kubo Hutchison 
