TODOs for Z algorithm and Boyer-Moore