Program that recognizes the pattern of lines in a given set of points.