Surprising pattern-mining algorithm