got value iteration working!