Start on the preprocessing needed for the Boyer-Moore algorithm