added implementation of KMP string search algorithm (yet to be used)