TAKEN FROM:
https://github.com/lagodiuk/aho-corasick-optimized/blob/master/src/main/java/com/lahodiuk/ahocorasick/AhoCorasickOptimized.java
Implementation of the Aho-Corasick string matching algorithm, described in
the paper "Efficient String Matching: An Aid to Bibliographic Search",
written by Alfred V.