Monte Carlo Markov Chain Methods For Detection And Decoding