value iteration working (but not always convergent)