Gibbs sampling for motif finding