add search string module implemeted using KMP algorithm