Solution for Speeding Up Motif Finding (kmp)