Added a simple Markov decision process implementation