Markov Decision Problem solution implementation