Text this: Simulation-based algorithms for Markov decision processes/