implementing dna motif searcher