Gibbs sampling for motif construction