Use K-Means Clustering to cluster intersecting points in shape.py

Still doesn't work as desired, because cv2.kmeans() requires you to set K beforehand. Need a clustering method that doesn't require you to specify the number of clusters.