1) renamed setSub() to setSubtration(). 2) Added two utility methods, pattern2Set() and collection2Pattern(), and test cases.