added greedy motif search