An Efficient And General-Purpose Technique For Grouping Hand-Drawn Pen Strokes Into Objects