using produceStochasticTransition in Q-Learning