Changed patternMatch method to return a Collection of a Collection for
the case where there are multiple "instances" of a pattern