matcher = new Naive(pattern);
System.out.println("Naive String Matcher:");
printOutput(matcher, textSample);
matcher = new KarpRabin(pattern);
System.out.println("Karp-Rabin Matcher:");
printOutput(matcher, textSample);
matcher = new KnuthMorrisPratt(pattern);
System.out.println("Knuth-Morris-Pratt Matcher:");