segment_graph function

Segment a terrestrial point cloud using graph theory.