move modified boyer-moore algorithm from wikipedia to separate file