added basic discrete mdp simulation