added suffix tree for motif detection