Implement multi-pattern Boyer-Moore for a limiar of number of patterns