Implement value iteration for exploit/explore policies