added code to sample from a multinomial distribution using the Metropolis method, some code not complete