public IEnumerable <int> Knuth_Morris_Pratt_TextReader_Search(string haystack, string needle, int bufferSize)
        {
            var pattern = new KMPSearch(needle);
            var reader  = new StringReader(haystack);

            return(pattern.SearchIn(reader, bufferSize).ToArray());
        }
        public IEnumerable <int> Knuth_Morris_Pratt_String_Search(string haystack, string needle)
        {
            var pattern = new KMPSearch(needle);

            return(pattern.SearchIn(haystack).ToArray());
        }