Implement Boyer moore substring search