Text this: Memristive Bellman solver for decision-making