commit boyer-moore algoritm