Text this: A study of value iteration and policy iteration for Markov decision processes in Deterministic systems