Solves an inference problem on dice rolls using Metropolis-Hastings